//
//  GSY_Notification.h
//  工厂模式
//
//  Created by Song on 2018/5/20.
//  Copyright © 2018年 Song. All rights reserved.
//

//  封装简易的通知类

#import <Foundation/Foundation.h>

@interface GSY_Notification : NSObject

// 添加通知 flag：标签
+(void)addGSYObserver:(NSObject *)observer selector:(SEL)selector flag:(NSString *)flag;

// 发送消息，根据flag标签找到对应的对象
+(void)sendGSYMessage:(id)message toFlag:(NSString *)flag;

// 移除通知
+(void)removeGSYObserver:(NSObject *)observer flag:(NSString *)flag;

@end
